package com.mall.concurrency.example.singleton;

/**
 * @Author:zwy
 * @Despriction:恶汉模式
 * @Date:Create in 15:00 2018/5/29
 * @Modify By:
 */
public class SingletonExamle2 {
    private SingletonExamle2(){

    }
    private static SingletonExamle2 instance = new SingletonExamle2();

    public static SingletonExamle2 getInstance(){
        return instance;
    }
}
